

            function addArduinoCod (Blockly) {
            
                        

                        
        Blockly.Arduino['EXT_FLOWING_LIGHTS_BLOCK_1607912841748'] = function(block)
        {
            let lamp = this.getFieldValue('lamp');
let status = this.getFieldValue('status');
          
            Blockly.Arduino.definitions_['include_EXT_FLOWING_LIGHTS_BLOCK_1607912841748'] = ``;
            Blockly.Arduino.definitions_['define_EXT_FLOWING_LIGHTS_BLOCK_1607912841748'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_FLOWING_LIGHTS_BLOCK_1607912841748'] = `pinMode(${lamp}, OUTPUT);\r\n  digitalWrite(${lamp}, LOW);`;
             return  `digitalWrite(${lamp}, ${status});\r\n`;
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        